package net.web.milkteapos.bean;

/**
 * 记账本
 */
public class Register {
	private Product product;
	private int quantity;
	private Sale currentSale;
	
	public  Register(Product product) {
		this.product=product;
	}
	
	public void endSale() {
//		currentSale.becomeComplete();
	}
	
	public void enterItem(Product product,int quantity) {
		this.product = product;
		this.quantity = quantity;
	}
	
	public void makeNewSale() {
		currentSale=new Sale();
	}
	
	public void makePayent(Money cashTendered) {
		
	}
}
